#if !defined(AFX_TEXTBUTTON_H__F60178D1_E6BA_11D2_9175_006052079D9F__INCLUDED_)
#define AFX_TEXTBUTTON_H__F60178D1_E6BA_11D2_9175_006052079D9F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// TextButton.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CTextButton window

class CTextButton : public CButton
{
// Construction
public:
	CTextButton();

// Attributes
public:

// Operations
public:

// Overrides
	BOOL SetWindowText(LPCTSTR lpszString);
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTextButton)
	public:
	virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual void SetFaceFont( CFont* pFont);
	virtual ~CTextButton();

	// Generated message map functions
protected:
	BOOL DrawButtonState( HDC hDC, UINT uState);
	//{{AFX_MSG(CTextButton)
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	afx_msg void OnPaint();
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
private:
	UINT m_uiLastState;
	CFont *m_pFont;
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_TEXTBUTTON_H__F60178D1_E6BA_11D2_9175_006052079D9F__INCLUDED_)
